﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Convert.LOTSmodel
{
    class PersonDebtor
    {
        public int PersonID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Title { get; set; }
        public string Address { get; set; }
        public string Suburb { get; set; }
        public string PostCode { get; set; }
        public string PhoneNumber { get; set; }
        public DateTime BirthDate { get; set; }
        public string MedicareNo { get; set; }
        public int AccountID { get; set; }
        public int CreditLimit { get; set; }
        public int AccountClassID { get; set; }
    }

    class PersonDebtorTrans
    {
        public int SaleID { get; set; }
        public DateTime TimeDate { get; set; }
        public int StockID { get; set; }
        public string Description { get; set; }
        public double Retail { get; set; }
        public double Quantity { get; set; }
        public double Discount { get; set; }
        public double GSTPaid { get; set; }
        public int AccountID {get; set;}
    }

    class PersonLayby
    {
        public int PersonID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Title { get; set; }
        public string Address { get; set; }
        public string Suburb { get; set; }
        public string PostCode { get; set; }
        public string PhoneNumber { get; set; }
        public DateTime BirthDate { get; set; }
        public string MedicareNo { get; set; }
        public int AccountID { get; set; }
        public int LaybyID { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime FinishDate { get; set; }
        public int Status { get; set; }

    }

    class PersonLaybyTrans
    {
        public int LaybyID { get; set; }
        public int SaleID { get; set; }
        public DateTime TimeDate { get; set; }
        public int StockID { get; set; }
        public string Description { get; set; }
        public int Cost { get; set; }
        public int Retail { get; set; }
        public Int16 Quantity { get; set; }
        public int GSTPaid { get; set; }
    }
}
